﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Collections.ObjectModel;

namespace HotelManageSystem.Domain.Entities
{
    /// <summary>
    /// Class Name:     CertificateType
    /// Author:         Wenshu Zhang
    /// Creation Date:  2011-12-29
    /// Description:    证件类型
    /// QA:             
    /// -----------------------------------------
    /// </summary>
    public  class CertificateType
    {
        public CertificateType()
        { 
            ClientCollection=new Collection<Client>();
        }
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int ID { get; set; }

        public string Name { get; set; }

        public ICollection<Client> ClientCollection { get; set; }
    }
}
